<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="author" content="二口丝连连二口，十八相与与十八">
    
    <meta name="description" content="一花一草一世界">
    
    
    
    
    
    
    <title>HTML+CSS基础（二） | Tlin Blog</title>
    <link href=”“ rel=”prefetch” />

    <link rel="stylesheet" href="/css/bootstrap.min.css">
<link rel="stylesheet" href="/css/aos.css">
<link rel="stylesheet" href="/css/style.css">
    <script src="/js/jquery.min.js"></script>
    <script src="/js/bootstrap.min.js"></script>
    <script src="/js/aos.js"></script>
    <script src="/js/highslide/highslide-full.min.js"></script>
    <link rel="stylesheet" href="/js/highslide/highslide.css">
    <style type="text/css">
        @media (max-width: 768px) {
            body {
                background-color: #f0f0f0;
                background: url('/imgs/xsbg.gif');
                background-attachment: fixed;
            }
        }
    </style>
    
    <!--<script type="text/javascript">
      if (document.images) {
        var avatar = new Image();
        avatar.src = '/imgs/avatar.jpg'
        var previews = 'preview1.jpg,preview2.jpg,preview3.jpg'.split(',')
        var previewsPreLoad = []
        for(var i = 0; i < length; i++) {
          previewsPreLoad.push(new Image())
          previewsPreLoad[previewsPreLoad.length - 1].src = '/imgs/preview' + previews[i]
        }
      }
    </script>-->
</head>
<body>
    <!-- 背景轮播图功能 -->
    <section class="hidden-xs">
    <ul class="cb-slideshow">
        <li><span>天若</span></li>
        <li><span>有情</span></li>
        <li><span>天亦老</span></li>
        <li><span>人间</span></li>
        <li><span>正道</span></li>
        <li><span>是沧桑</span></li>
    </ul>
</section>
    <!-- 欧尼酱功能, 谁用谁知道 -->
    
    <div class="gal-menu gal-dropdown">
    <div class="circle" id="gal">
        <div class="ring">
            <a href="/" class="menuItem" style="left: 50%; top: 15%;">首页</a>
            
            <a class="menuItem" style="left: 80.3109%; top: 32.5%;">下一页</a>
            
            <a href="/archives" class="menuItem" style="left: 80.3109%; top: 67.5%;">归档</a>
            <a href="javascript:window.location.reload()" class="menuItem" style="left: 50%; top: 85%;">刷新</a>
            <a href="/message" class="menuItem" style="left: 19.6891%; top: 67.5%;">留言板</a>
            
            <a class="menuItem" style="left: 19.6891%; top: 32.5%;">上一页</a>
            
            <a class="menuItem" style="left: 50%; top: 50%;">自动复制</a>
        </div>
        <!-- <audio id="audio" src="/imgs/oni.mp3"></audio> -->
    </div>
</div>
<script>
    // document.getElementById('copy').onclick=function(){
document.onmouseup=function(){
    var txt = window.getSelection?window.getSelection():document.selection.createRange().text;
    document.execCommand("Copy") 
}
    // }
</script>
    
    <header class="navbar navbar-inverse" id="gal-header">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed"
                    data-toggle="collapse" data-target=".bs-navbar-collapse"
                    aria-expanded="false">
                <span class="fa fa-lg fa-reorder"></span>
            </button>
            <a href="/">
                
                <style>
                    #gal-header .navbar-brand {
                        height: 54px;
                        line-height: 24px;
                        font-size: 28px;
                        opacity: 1;
                        background-color: rgba(0,0,0,0);
                        text-shadow: 0 0 5px #fff,0 0 10px #fff,0 0 15px #fff,0 0 20px #228DFF,0 0 35px #228DFF,0 0 40px #228DFF,0 0 50px #228DFF,0 0 75px #228DFF;
                    }
                </style>
                <!-- 这里使用文字(navbar_text or config.title) -->
                <div class="navbar-brand">Tlin</div>
                
            </a>
        </div>
        <div class="collapse navbar-collapse bs-navbar-collapse">
            <ul class="nav navbar-nav" id="menu-gal">
                
                
                <li class="">
                    <a href="/">
                        <i class="fa fa-home"></i>首页
                    </a>
                </li>
                
                
                
                <li class="">
                    <a href="/archives">
                        <i class="fa fa-archive"></i>归档
                    </a>
                </li>
                
                
                
                
                <li class="dropdown">
                    <!-- TODO 添加hover dropdown效果 -->
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown"
                       aria-haspopup="true" aria-expanded="false" data-hover="dropdown">
                        <i class="fa fa-list"></i>分类
                    </a>
                    <ul class="dropdown-menu">
                        
                        
                        <li>
                            <a href="/categories/音频-视频/">音频 视频</a>
                        </li>
                        
                        <li>
                            <a href="/categories/有趣小东西/">有趣小东西</a>
                        </li>
                        
                        <li>
                            <a href="/categories/hexo/">hexo</a>
                        </li>
                        
                        
                        <li>
                            <a href="/categories">...</a>
                        </li>
                        
                        
                    </ul>
                </li>
                
                
                
                
                
                <li class="dropdown">
                    <!-- TODO 添加hover dropdown效果 -->
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown"
                       aria-haspopup="true" aria-expanded="false" data-hover="dropdown">
                        <i class="fa fa-tags"></i>标签
                    </a>
                    <ul class="dropdown-menu">
                        
                        
                        <li>
                            <a href="/tags/audio-video/">audio video</a>
                        </li>
                        
                        <li>
                            <a href="/tags/funny/">funny</a>
                        </li>
                        
                        <li>
                            <a href="/tags/hexo/">hexo</a>
                        </li>
                        
                        
                        <li>
                            <a href="/tags">...</a>
                        </li>
                        
                        
                    </ul>
                </li>
                
                
                
                
                <li class="">
                    <a href="/about">
                        <i class="fa fa-user"></i>关于我
                    </a>
                </li>
                
                
                
                <li class="">
                    <a href="/message">
                        <i class="fa fa-heart"></i>留言板
                    </a>
                </li>
                
                
            </ul>
        </div>
    </div>
</header>
    <div id="gal-body">
        <div class="container">
            <div class="row">
                <div class="col-md-8 gal-right" id="mainstay">
                    
<article class="article well article-body" id="article">
    <div class="breadcrumb">
        <i class="fa fa-home"></i>
        <a href="/">Tlin Blog</a>
        >
        <span>HTML+CSS基础（二）</span>
    </div>
    <!-- 大型设备详细文章 -->
    <div class="hidden-xs">
        <div class="title-article">
            <h1>
                <a href="/2019/03/05/html css/base1/">HTML+CSS基础（二）</a>
            </h1>
        </div>
        <div class="tag-article">
            
            <span class="label label-gal">
                <i class="fa fa-tags"></i>
                
                <a href="/tags/html-css/">html css</a>
                
            </span>
            
            <span class="label label-gal">
                <i class="fa fa-calendar"></i> 2019-03-05
            </span>
            
        </div>
    </div>
    <!-- 小型设备详细文章 -->
    <div class="visible-xs">
        <center>
            <div class="title-article">
                <h4>
                    <a href="/2019/03/05/html css/base1/">HTML+CSS基础（二）</a>
                </h4>
            </div>
            <p>
                <i class="fa fa-calendar"></i> 2019-03-05
            </p>
            <p>
                
                <i class="fa fa-tags"></i>
                
                <a href="/tags/html-css/">html css</a>
                
                
                
            </p>
        </center>
    </div>
    <div class="content-article">
        <h4 id="一、hover"><a href="#一、hover" class="headerlink" title="一、hover"></a>一、hover</h4><ul>
<li>:hover 伪类经常用于页面的一些鼠标交互、链接点击变化，增强页面的用户体验，但是可以用来改变其他元素样式，可以在不使用JS 的情况下，达到想要的页面效果。鼠标移到某元素上就发生变化，移开就恢复。</li>
<li><p><strong>1、改变自身效果：</strong><img src="/images/html css/hover1.gif" alt=""></p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">&lt;style&gt;</span><br><span class="line">    .demo&#123;width: 150px;height: 150px;text-align: center;line-height: 150px;background: #eee;transition: all 0.4s;&#125;</span><br><span class="line">    .demo:hover&#123;width: 200px;height: 200px;background: orangered;&#125;</span><br><span class="line">&lt;/style&gt;</span><br><span class="line">&lt;div class=&quot;demo&quot;&gt;示例&lt;/div&gt;</span><br></pre></td></tr></table></figure>
</li>
<li><p><strong>2、改变其子元素的效果：</strong><img src="/images/html css/hover2.gif" alt=""></p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br></pre></td><td class="code"><pre><span class="line">&lt;style&gt;</span><br><span class="line">    *&#123;margin: 0;padding: 0;list-style: none;&#125;</span><br><span class="line">    .demo&#123;width: 1000px;margin:30px auto;border:1px solid red;&#125;</span><br><span class="line">    .demo ul&#123;display: flex;justify-content: space-between;&#125;</span><br><span class="line">    .demo li&#123;width: 200px;text-align: center;background: orangered;&#125;</span><br><span class="line"></span><br><span class="line">    .demo:hover li&#123;background: pink;&#125;</span><br><span class="line">&lt;/style&gt;</span><br><span class="line">&lt;div class=&quot;demo&quot;&gt;</span><br><span class="line">    &lt;ul&gt;</span><br><span class="line">        &lt;li&gt;子元素1&lt;/li&gt;</span><br><span class="line">        &lt;li&gt;子元素2&lt;/li&gt;</span><br><span class="line">        &lt;li&gt;子元素3&lt;/li&gt;</span><br><span class="line">        &lt;li&gt;子元素4&lt;/li&gt;</span><br><span class="line">    &lt;/ul&gt;</span><br><span class="line">&lt;/div&gt;</span><br></pre></td></tr></table></figure>
</li>
<li><p>注：其“子元素”并非一定是子元素，在其下的都可以</p>
</li>
<li><strong>3、改变其兄弟元素的效果</strong><img src="/images/html css/hover3.gif" alt=""><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br></pre></td><td class="code"><pre><span class="line">&lt;style&gt;</span><br><span class="line">    .demo&#123;display: flex;justify-content: space-between;width: 850px;margin:20px auto;&#125;</span><br><span class="line">    .demo div&#123;flex:1;text-align: center;border:1px solid red;&#125;</span><br><span class="line">    </span><br><span class="line">    .box:hover+div&#123;background: pink;&#125;</span><br><span class="line">&lt;/style&gt;</span><br><span class="line">&lt;div class=&quot;demo&quot;&gt;</span><br><span class="line">    &lt;div&gt;盒子1&lt;/div&gt;</span><br><span class="line">    &lt;div class=&quot;box&quot;&gt;盒子2&lt;/div&gt;</span><br><span class="line">    &lt;div&gt;盒子3&lt;/div&gt;</span><br><span class="line">    &lt;div&gt;盒子4&lt;/div&gt;</span><br><span class="line">&lt;/div&gt;</span><br></pre></td></tr></table></figure>
</li>
</ul>
<p>注：只对其下一个兄弟元素有效，若放在最后一个加hover则没有效果，即把”class=’box’”放在“盒子4”是无效的。</p>
<ul>
<li><strong>4、hover的应用</strong></li>
<li>①：导航下拉菜单 <img src="/images/html css/hover4.gif" alt=""> <a href="https://tianrenlin.github.io/hover_application_1/" target="_blank" rel="noopener">查看效果</a></li>
<li>②：提示信息 <img src="/images/html css/hover5.gif" alt=""> <a href="https://tianrenlin.github.io/hover_application_2/" target="_blank" rel="noopener">查看效果</a></li>
<li><strong>参考资料</strong></li>
<li><a href="https://www.cnblogs.com/engeng/p/7429095.html" target="_blank" rel="noopener">利用CSS hover伪类改变其他元素的总结</a><br><br><h4 id="二、video-详情请点击"><a href="#二、video-详情请点击" class="headerlink" title="二、video 详情请点击"></a>二、video <a href="http://www.runoob.com/tags/tag-video.html" target="_blank" rel="noopener">详情请点击</a></h4></li>
<li>注意：网页播放mp4格式的视频： 必须使用<code>H264（AVC）视频编解码器</code>和<code>AAC音频编解码器</code><br><br><h4 id="二、audio-详情请点击"><a href="#二、audio-详情请点击" class="headerlink" title="二、audio 详情请点击"></a>二、audio <a href="http://www.runoob.com/tags/tag-audio.html" target="_blank" rel="noopener">详情请点击</a></h4><br><h4 id="三、object-详情请点击"><a href="#三、object-详情请点击" class="headerlink" title="三、object 详情请点击"></a>三、object <a href="https://www.cnblogs.com/zhuifeng/p/3805855.html" target="_blank" rel="noopener">详情请点击</a></h4></li>
<li>定义一个嵌入的对象。请使用此元素向您的 XHTML 页面添加多媒体。此元素运行你自己规定插入 HTML 文档中的对象的数据和参数，以及可用来显示和操作数据的代码。</li>
<li><a href="http://www.w3school.com.cn/html5/html5_object.asp" target="_blank" rel="noopener">W3C详情</a><br><br><h4 id="四、viewport"><a href="#四、viewport" class="headerlink" title="四、viewport"></a>四、viewport</h4></li>
<li><a href="http://www.runoob.com/css/css-rwd-viewport.html" target="_blank" rel="noopener">什么是viewport？</a></li>
<li>常见配置：<code>&lt;meta name=&quot;viewport&quot; content=&quot;width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,use-scalable=no&quot;&gt;</code></li>
<li>initial-scale：初始缩放比例，也即是当页面第一次 load 的时候缩放比例。</li>
<li>width=device-width：宽度为设备宽度。</li>
<li>maximum-scale：允许用户缩放到的最大比例。</li>
<li>minimum-scale：允许用户缩放到的最小比例。</li>
<li><p>user-scalable：用户是否可以手动缩放。</p>
</li>
<li><p><strong>tips：该配置常用在手机App和响应式网站中。</strong><br><br></p>
<h4 id="五、Flex"><a href="#五、Flex" class="headerlink" title="五、Flex"></a>五、Flex</h4></li>
<li>什么是弹性盒子？什么是flex布局？请依次看以下阮一峰老师的教程，并且跟着写例子。</li>
<li><a href="http://www.ruanyifeng.com/blog/2015/07/flex-grammar.html" target="_blank" rel="noopener">Flex 布局教程：语法篇</a></li>
<li><a href="http://www.ruanyifeng.com/blog/2015/07/flex-examples.html" target="_blank" rel="noopener">Flex 布局教程：实例篇</a>（如果对弹性盒子了解一点请看这个）</li>
<li><strong>1、需要记住的常用语法：</strong></li>
<li>1、设置在父级的容器的6大属性：</li>
<li>①：flex-direction 排列方向</li>
<li>②：flex-wrap 排列方式</li>
<li>③：flex-flow 由flex-direction和flex-wrap属性组成</li>
<li>④：justify-content 项目在主轴上的对齐方式</li>
<li>⑤：align-items 项目在交叉上如何对齐（对齐方式）</li>
<li>⑥：align-content 多根线轴对齐方式（一根不适用）</li>
<li><strong>2、在实际项目中常用到的属性，父级必须设置为弹性盒子：display:flex。</strong></li>
<li><strong>在父级元素上：</strong></li>
<li>①：上下居中：align-items:center;</li>
<li>②：左右居中：justify-content:center;</li>
<li>③：两个子元素靠两边：justify-content:space-between;</li>
<li>④：每个子元素两侧相等：justify-content:space-around;</li>
<li>⑤：左对齐：justify-content:flex-start;（默认）</li>
<li>⑥：右对齐：justify-content:end;</li>
<li>⑦：横向排列：flex-direction:rwo;</li>
<li>⑧：纵向对齐：flex-direction:column;</li>
<li>⑨：排列在一条线上，多出换行：flex-wrap:wrap;</li>
<li>⑩：排列在一条线上，多出不换行：flex-wrap:nowrap;</li>
<li><strong>在子级元素上：</strong></li>
<li>⑪：多个盒子各占不同等分：flex:1、flex:3……</li>
<li>⑫：两边固定，中间自适应：两边给宽度，中间flex:1;</li>
<li>⑬：左边定宽，右边自适应，反之亦然：左flex:1，右宽100%;</li>
<li><p>⑭：已知宽度定宽：flex:0 0 100px;</p>
</li>
<li><p><strong>3、注意事项：</strong></p>
</li>
<li>①：块级元素使用flex：<code>display:flex</code>;行内元素使用flex:<code>display:inline-flex</code>;</li>
<li>②：涉及到兼容性，<a href="https://www.cnblogs.com/iriszhang/p/6102524.html" target="_blank" rel="noopener">详情查看1</a> &nbsp;&nbsp;<a href="https://www.cnblogs.com/zhongfufen/p/6424189.html" target="_blank" rel="noopener">详情查看2</a></li>
<li>③：设为flex布局后，子元素的float、clear、vertical-align属性将失效；</li>
<li>④：父元素设置为弹性盒子后，子元素也是可以设置为弹性盒子。</li>
</ul>

    </div>
</article>


<div id="comments-template"></div>
<link rel="stylesheet" href="https://imsun.github.io/gitment/style/default.css">
<script>
	if(!window.commentConfig) {
      window.commentConfig = {}
      window.commentConfig.title = 'HTML+CSS基础（二）'
    }
</script>

                </div>
                <aside class="col-md-4 gal-left" id="sidebar">
    <!-- 此为sidebar的搜索框, 非搜索结果页面 -->
<aside id="sidebar-search">
    <div class="search hidden-xs" data-aos="fade-up" data-aos-duration="2000">
        <form class="form-inline clearfix" id="search-form" method="get"
              action="/search/index.html">
            <input type="text" name="s" class="form-control" id="searchInput" placeholder="搜索文章~">
            <button class="btn btn-danger btn-gal" type="submit">
                <i class="fa fa-search"></i>
            </button>
        </form>
    </div>
</aside>
    <aside id="sidebar-author">
    <div class="panel panel-gal" data-aos="flip-right" data-aos-duration="3000">
        <div class="panel-heading" style="text-align: center">
            <i class="fa fa-quote-left"></i>
            二口丝连连二口，十八相与与十八
            <i class="fa fa-quote-right"></i>
        </div>
        <div class="author-panel text-center">
            <img src="/imgs/avatar.jpg" width="140" height="140"
                 alt="个人头像" class="author-image">
            <p class="author-description"><h3 style="text-decoration:underline;"><p>一花一草一世界</p>
</h3></p>
        </div>
    </div>
</aside>
    
    <aside id="sidebar-recent_comments">
    <div class="panel panel-gal recent hidden-xs" data-aos="fade-up" data-aos-duration="2000">
        <div class="panel-heading">
            <i class="fa fa-comments"></i>
            最新评论
            <i class="fa fa-times-circle panel-remove"></i>
            <i class="fa fa-chevron-circle-up panel-toggle"></i>
        </div>
        <ul class="list-group list-group-flush"></ul>
    </div>
</aside>
    
    <!-- 要配置好leancloud才能开启此小工具 -->
    
    
    <aside id="sidebar-recent_posts">
    <div class="panel panel-gal recent hidden-xs" data-aos="fade-up" data-aos-duration="2000">
        <div class="panel-heading">
            <i class="fa fa-refresh"></i>
            近期文章
            <i class="fa fa-times-circle panel-remove"></i>
            <i class="fa fa-chevron-circle-up panel-toggle"></i>
        </div>
        <ul class="list-group list-group-flush">
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/11/14/javascript/js_copy/">JS复制选中的内容</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/11/13/audio video/mp4_play/">MP4网页播放器</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/11/13/html css/underlineStyle/">设置下划线样式</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/03/05/website/learning_website/">学习网站 学习社区</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/03/05/web/angular_upgrade/">AngularJs+Bootstrap搭建首页导航路由（升级）</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/03/05/vue/vue_cli/">Vue-cli脚手架工具搭建项目（详细）</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/03/05/web/angular/">AngularJs+Bootstrap搭建首页导航路由</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/03/05/vue/vue_babel/">Vue项目引入的一些包</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/03/05/tools/tools/">电脑实用的一些工具软件</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/03/05/plugins/cool-plugins/">炫酷特效插件</a>
                </span>
            </li>
            
        </ul>
    </div>
</aside>
    
    
    <aside id="sidebar-rand_posts">
    <div class="panel panel-gal recent hidden-xs" data-aos="fade-up" data-aos-duration="2000">
        <div class="panel-heading">
            <i class="fa fa-refresh"></i>
            随机文章
            <i class="fa fa-times-circle panel-remove"></i>
            <i class="fa fa-chevron-circle-up panel-toggle"></i>
        </div>
        <ul class="list-group list-group-flush">
            
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/03/05/audio video/mp4_attention/">MP4转码在网页播放要注意的两个坑</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/03/05/hexo/hexo_options/">修改hexo主题及其配置</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/03/05/html css/base2/">HTML+CSS基础（三）</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/03/05/html css/basis/">HTML+CSS基础（一）</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/03/05/javascript/basic2/">JavaScript的一些常见基础用法（二）</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/03/05/javascript/basic1/">JavaScript的一些常见基础用法（一）</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/03/05/javascript/basic3/">JavaScript的一些常见基础用法（三）</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/03/05/more/game_video/">一些绚丽震撼的游戏CG</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/03/05/plugins/plugins/">实用插件</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/03/05/tools/tools/">电脑实用的一些工具软件</a>
                </span>
            </li>
            
        </ul>
    </div>
</aside>
    
    
    <aside id="gal-sets">
        <div class="panel panel-gal hidden-xs" data-aos="fade-up" data-aos-duration="2000">
            <ul class="nav nav-pills pills-gal">
                <li class="">
                    <a href="/2019/03/05/html css/base1/index.html#sidebar-tags" data-toggle="tab" id="tags-tab">热门标签</a>
                </li>
                <li class="">
                    <a href="/2019/03/05/html css/base1/index.html#sidebar-friend-links" data-toggle="tab" id="friend-links-tab">友情链接</a>
                </li>
                <li class="">
                    <a href="/2019/03/05/html css/base1/index.html#sidebar-links" data-toggle="tab" id="links-tab">个人链接</a>
                </li>
            </ul>
            <div class="tab-content">
                <div class="cloud-tags tab-pane nav bs-sidenav fade" id="sidebar-tags">
    
    <a href="/tags/audio-video/" style="font-size: 19.54445474697245px;" class="tag-cloud-link">audio video</a>
    
    <a href="/tags/funny/" style="font-size: 14.708683739265542px;" class="tag-cloud-link">funny</a>
    
    <a href="/tags/hexo/" style="font-size: 10.01271723760272px;" class="tag-cloud-link">hexo</a>
    
    <a href="/tags/html-css/" style="font-size: 13.092082671695866px;" class="tag-cloud-link">html css</a>
    
    <a href="/tags/markdown/" style="font-size: 11.109770320504257px;" class="tag-cloud-link">markdown</a>
    
    <a href="/tags/javascript/" style="font-size: 16.076348081637427px;" class="tag-cloud-link">javascript</a>
    
    <a href="/tags/琐记/" style="font-size: 8.820013519673962px;" class="tag-cloud-link">琐记</a>
    
    <a href="/tags/特效插件/" style="font-size: 18.82890513275659px;" class="tag-cloud-link">特效插件</a>
    
    <a href="/tags/实用插件/" style="font-size: 16.40937796110064px;" class="tag-cloud-link">实用插件</a>
    
    <a href="/tags/vue/" style="font-size: 15.123061319393027px;" class="tag-cloud-link">vue</a>
    
    <a href="/tags/tools/" style="font-size: 14.765381869548495px;" class="tag-cloud-link">tools</a>
    
    <a href="/tags/web/" style="font-size: 8.47288568533233px;" class="tag-cloud-link">web</a>
    
    <a href="/tags/学习网站-学习社区/" style="font-size: 13.559667003441138px;" class="tag-cloud-link">学习网站 学习社区</a>
    
</div>
                <div class="friend-links tab-pane nav bs-sidenav fade" id="sidebar-friend-links">
    
    <li>
        <a href="https://hexo.io/zh-cn/" target="_blank">Hexo</a>
    </li>
    
    <li>
        <a href="https://www.npmjs.com/" target="_blank">npm</a>
    </li>
    
    <li>
        <a href="https://user.qzone.qq.com/3287108795?source=namecardhoverqzone" target="_blank">个人空间（非好友可能看不了）</a>
    </li>
    
</div>
                <div class="links tab-pane nav bs-sidenav fade" id="sidebar-links">
    
    <li>
        <a href="https://github.com/tianrenlin/" target="_blank">Github</a>
    </li>
    
    <li>
        <a href="https://gitee.com/tilin" target="_blank">Gitee（码云）</a>
    </li>
    
    <li>
        <a href="https://segmentfault.com/u/tianlin" target="_blank">SegmentFault（思否）</a>
    </li>
    
</div>
            </div>
        </div>
    </aside>
    
</aside>
            </div>
        </div>
    </div>
    <footer id="gal-footer">
    <div class="container">
        Copyright © 2018 <a href="https://tilin.gitee.io/about/" style="color:#39C1D8;">Tlin</a> Powered by <a href="https://hexo.io/" target="_blank">Hexo</a>.&nbsp;
    </div>
</footer>

<!-- 回到顶端 -->
<div id="gal-gotop" title="回到顶部">
    <i class="fa fa-angle-up"></i>
</div>
<script src="/live2dw/lib/L2Dwidget.min.js?094cbace49a39548bed64abff5988b05"></script><script>L2Dwidget.init({"pluginRootPath":"live2dw/","pluginJsPath":"lib/","pluginModelPath":"assets/","tagMode":false,"debug":false,"model":null,"use":"live2d-widget-model-z16","mobile":{"show":false},"dialog":{"enable":true},"log":false});</script></body>
<script src="/js/activate-power-mode.js"></script>
<script>

    // 配置highslide
	hs.graphicsDir = '/js/highslide/graphics/'
    hs.outlineType = "rounded-white";
    hs.dimmingOpacity = 0.8;
    hs.outlineWhileAnimating = true;
    hs.showCredits = false;
    hs.captionEval = "this.thumb.alt";
    hs.numberPosition = "caption";
    hs.align = "center";
    hs.transitions = ["expand", "crossfade"];
    hs.lang.number = '共%2张图, 当前是第%1张';
    hs.addSlideshow({
      interval: 5000,
      repeat: true,
      useControls: true,
      fixedControls: "fit",
      overlayOptions: {
        opacity: 0.75,
        position: "bottom center",
        hideOnMouseOut: true
      }
    })

    // 初始化aos
    AOS.init({
      duration: 1000,
      delay: 0,
      easing: 'ease-out-back'
    });

</script>
<script>
	POWERMODE.colorful = 'true';    // make power mode colorful
	POWERMODE.shake = 'true';       // turn off shake
	// TODO 这里根据具体情况修改
	document.body.addEventListener('input', POWERMODE);
</script>
<script>
    window.slideConfig = {
      prefix: '/imgs/slide/background',
      ext: 'jpg',
      maxCount: '6'
    }
</script>
<script src="/js/hs.js"></script>
<script src="/js/blog.js"></script>

<script src="/js/oni.js"></script>



<script src="https://imsun.github.io/gitment/dist/gitment.browser.js"></script>
<script>
    if(window.commentConfig) {
      window.commentConfig.id = 'Tue Mar 05 2019 23:00:21 GMT+0800'
      window.commentConfig.owner = 'tianrenlin'
      window.commentConfig.repo = 'tilin_comments'
      window.commentConfig.client_id = 'a1c64988f8052e784d45'
      window.commentConfig.client_secret = 'a7eb4fff9e6c2d418ae487de38e3153bfe17c06c'
      window.commentConfig.redirect_uri = ''
    } else {
      window.commentConfig = {
      	id: 'Tue Mar 05 2019 23:00:21 GMT+0800',
        owner: 'tianrenlin',
        repo: 'tilin_comments',
        client_id: 'a1c64988f8052e784d45',
        client_secret: 'a7eb4fff9e6c2d418ae487de38e3153bfe17c06c',
        redirect_uri: ''
      }
    }
</script>
<script src="/js/comment/gitment.js"></script>

</html>
<script>
    !function(e,t,a){function n(){c(".heart{width: 10px;height: 10px;position: fixed;background: #f00;transform: rotate(45deg);-webkit-transform: rotate(45deg);-moz-transform: rotate(45deg);}.heart:after,.heart:before{content: '';width: inherit;height: inherit;background: inherit;border-radius: 50%;-webkit-border-radius: 50%;-moz-border-radius: 50%;position: fixed;}.heart:after{top: -5px;}.heart:before{left: -5px;}"),o(),r()}function r(){for(var e=0;e<d.length;e++)d[e].alpha<=0?(t.body.removeChild(d[e].el),d.splice(e,1)):(d[e].y--,d[e].scale+=.004,d[e].alpha-=.013,d[e].el.style.cssText="left:"+d[e].x+"px;top:"+d[e].y+"px;opacity:"+d[e].alpha+";transform:scale("+d[e].scale+","+d[e].scale+") rotate(45deg);background:"+d[e].color+";z-index:99999");requestAnimationFrame(r)}function o(){var t="function"==typeof e.onclick&&e.onclick;e.onclick=function(e){t&&t(),i(e)}}function i(e){var a=t.createElement("div");a.className="heart",d.push({el:a,x:e.clientX-5,y:e.clientY-5,scale:1,alpha:1,color:s()}),t.body.appendChild(a)}function c(e){var a=t.createElement("style");a.type="text/css";try{a.appendChild(t.createTextNode(e))}catch(t){a.styleSheet.cssText=e}t.getElementsByTagName("head")[0].appendChild(a)}function s(){return"rgb("+~~(255*Math.random())+","+~~(255*Math.random())+","+~~(255*Math.random())+")"}var d=[];e.requestAnimationFrame=function(){return e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||e.msRequestAnimationFrame||function(e){setTimeout(e,1e3/60)}}(),n()}(window,document);
</script>